/*
 * @(#)DBAction.java 0.0.1-SNAPSHOT
 * Copyright Group B
 */

package grupb.upf.DBManager;

/**
 * <p>This interface manages the query to the database.</p>
 *
 * @version    0.0.1-SNAPSHOT
 * @author     Group B
 */
public interface DBAction {
    /**
     * This method gets the parameters of the query.
     * @return The parameters of the query
     */
    Object[] getParameters();
    /**
     * This method sets the parameters of the query.
     * @param aParameters The parameters of the query.
     */
    void setParameters(Object[] aParameters);
    /**
     * This method gets the query.
     * @return The query.
     */
    String getActionId();
    /**
     * This method sets the query.
     * @param anActionId The query
     */
    void setActionId(String anActionId);
}
